home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / asm-generic / bitops / find.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  525 b   |  16 lines

  1. #ifndef _ASM_GENERIC_BITOPS_FIND_H_
  2. #define _ASM_GENERIC_BITOPS_FIND_H_
  3.  
  4. #ifndef CONFIG_GENERIC_FIND_NEXT_BIT
  5. extern unsigned long find_next_bit(const unsigned long *addr, unsigned long
  6.         size, unsigned long offset);
  7.  
  8. extern unsigned long find_next_zero_bit(const unsigned long *addr, unsigned
  9.         long size, unsigned long offset);
  10. #endif
  11.  
  12. #define find_first_bit(addr, size) find_next_bit((addr), (size), 0)
  13. #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
  14.  
  15. #endif /*_ASM_GENERIC_BITOPS_FIND_H_ */
  16.